import requests from "@/utils/request";

// 查询所有仓库库存
export function SelectAllStock(){
    return requests({
        url: '/wStock/selectAllStock',
        method: 'get',
    })
}
// 根据仓库id查询库存
export function SelectBySid(param){
    return requests({
        url: '/wStock/'+param,
        method: 'get',
    })
}

// 修改仓库库存
export function UpdateStock(param){
    return requests({
        url: '/wStock/updateStock',
        method: 'put',
        data: param,
    })
}
